package com.qiangqiang.resoldhouse.exception;/*
 *
 */

import com.qiangqiang.resoldhouse.entity.Area;
import com.qiangqiang.resoldhouse.enums.AreaEnums;

public class AreaException extends RuntimeException {
    private Integer code;

    public AreaException(AreaEnums areaEnums){
        super(areaEnums.getMessage());
        this.code = areaEnums.getCode();
    }
}
